<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>交流互动</title>
    <style type="text/css" >
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
        }
        header {
            background-color: #007bff;
            color: white;
            padding: 20px 0;
            text-align: center;
            font-size: 24px;
            font-weight: bold;
        }
        nav {
            display: flex;
			justify-content: center;
            background-color: #0056b3;
        }
        nav a {
            color: white;
            padding: 14px 20px;
            text-decoration: none;
            text-align: center;
            transition: background-color 0.3s;
        }
        nav a:hover {
            background-color: #007bff;
        }
        .carousel {
            position: relative;
            max-width:1920px;
            height: 100px;
            overflow: hidden;
        }
        .container {
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        h2, h3 {
            text-align: center;
            margin-bottom: 20px;
            color: #333;
        }
        .form-group {
            margin-bottom: 15px;
        }
        label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        input[type="text"], select {
            width: 100%;
            padding: 10px;
            border-radius: 4px;
            border: 1px solid #ccc;
            box-sizing: border-box;
        }
        textarea {
            width: 100%;
            height: 150px;
            padding: 10px;
            border-radius: 4px;
            border: 1px solid #ccc;
            box-sizing: border-box;
            resize: none;
        }
        .button-group {
            text-align: right;
        }
        button {
            background-color: #28a745;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        button:hover {
            background-color: #218838;
        }
    </style>
</head>
<body>

<header>
    资源共享平台
</header>

<nav>
    <a href="demo1.html">首页</a>
    <a href="demo2.html">笔记分享</a>
    <a href="#" style="background-color:#007bff">交流互动</a>
    <a href="#">公告信息</a>
    <a href="#">个人中心</a>
    <a href="#">后台管理</a>
</nav>

<!-- 轮播图区域 -->
<div class="carousel">
        <img src="img/lunbo1.jpg" alt="Image 1"  style="width:100%;height: 100px;">
</div>
<div class="container">
    <h2>FORUM / INFORMATION</h2>
    <h3>交流互动</h3>

    <div class="form-group">
        <label for="title">标题：</label>
        <input type="text" id="title" placeholder="这里可以修改自己的交流">
    </div>
    
    <div class="form-group">
        <label for="visibility">类型：</label>
        <select id="visibility">
            <option value="public">公开</option>
            <option value="private">私人</option>
        </select>
    </div>

    <div class="form-group">
        <label for="content">内容：</label>
        <textarea id="content" placeholder="用户可以相互发表交流"></textarea>
    </div>
    
    <div class="button-group">
        <button type="submit">提交</button>
    </div>
</div>
</body>
</html>